package com.wocharging.base.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.Date;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;
import com.fasterxml.jackson.annotation.JsonFormat;

/**
* <p>
* 电价下发任务表
* </p>
* @author yuzhou
* @since 2024-06-179 15:00:10
*/
@Data
@Accessors(chain = true)
@TableName("wo_electric_price_task")
@ApiModel(value = "WoElectricPriceTask对象", description = "电价下发任务表")
public class WoElectricPriceTask implements Serializable {

    private static final long serialVersionUID = 1L;
    @ApiModelProperty("task id")
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @ApiModelProperty("任务编号")
    @TableField("task_no")
    private String taskNo;

    @ApiModelProperty("任务名称")
    @TableField("task_name")
    private String taskName;

    @ApiModelProperty("下发的充电柜Id")
    @TableField("charge_box_id")
    private Long chargeBoxId;

    @ApiModelProperty("计费模板Id")
    @TableField("temp_id")
    private Long tempId;

    @ApiModelProperty("是否下发 1-是 0-否")
    @TableField("send_flag")
    private Boolean sendFlag;

    @ApiModelProperty("状态 1-未下发 2-已下发 3-下发失败 4-下发成功")
    @TableField("status")
    private Integer status;

    @ApiModelProperty("下发时间")
    @TableField("start_time")
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    private Date startTime;

    @ApiModelProperty("下发结果")
    @TableField("result_report")
    private String resultReport;

    @ApiModelProperty("备注")
    @TableField("remark")
    private String remark;

    @ApiModelProperty("1:可用 0:删除")
    @TableField("flag")
    private Integer flag;

    @ApiModelProperty("创建人")
    @TableField("create_by")
    private String createBy;

    @ApiModelProperty("创建时间")
    @TableField("create_time")
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    private Date createTime;

    @ApiModelProperty("更新人")
    @TableField("update_by")
    private String updateBy;

    @ApiModelProperty("更新时间")
    @TableField("update_time")
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    private Date updateTime;

}
